package com.oneday.ashop.core.entity.book;

import com.oneday.ashop.core.entity.IncIdEntity;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Collections;
import java.util.Date;
import java.util.List;

/**
 * 评论回复 本身不存储，直接放在Comment下面
 * User:bob.yang
 * Date 2015/8/27 0027
 */
@Data
public class Reply extends IncIdEntity<Integer>{
    /**
     * 尚未提醒用户
     */
    public static final Integer REMIND_STATUS_NO = 0;
    /**
     * 已经提醒用户
     */
    public static final Integer REMIND_STATUS_YES = 1;
    /**
     * 心情的id号 {@link com.oneday.ashop.core.entity.book.Mood#id}
     */
    private Integer mid;
    /**
     * 回复内容
     */
    private String content;
    /**
     * 回复对象 {@link com.oneday.ashop.core.entity.User#id}
     */
    private Integer uid;
    /**
     * 需要提醒的人
     */
    private List<Integer> uids;
    /**
     * 提醒的状态
     */
    private Integer remindStatus;
    /**
     * 回复时间
     */
    private Date addTime;
}
